package yuan.deng.spb.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import yuan.deng.spb.domain.User;

import java.util.List;

/**
 * @Description:
 * @Version: V1.0
 */

@Mapper
public interface UserMapper {

    @Select("select * from t_user")
    List<User> findAll();

    @Select("select password from t_user where username= #{value}")
    String findPassword(String s);
}
